<div class="row animated fadeInRight">
	<div class="col-md-10">
		<div class="box box-success">
			<div class="panel-heading">
				规则设置
			</div>
			<div class="panel-body">

				<form id="update-form" class="form-horizontal form-ajax" role="form" data-toggle="validator"
					  method="POST" action="">

					<div class="form-group">
						<label class="control-label col-xs-12 col-sm-2">微信小程序appid:</label>
						<div class="col-xs-12 col-sm-4">
							<input  class="form-control" name="row[mini_appid]" placeholder="不使用小程序可不填" value="{$wechat.mini_appid}" type="text">
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-xs-12 col-sm-2">微信小程序secret:</label>
						<div class="col-xs-12 col-sm-4">
							<input  class="form-control" name="row[mini_secret]" placeholder="不使用小程序可不填" value="{$wechat.mini_secret}" type="text">
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-xs-12 col-sm-2 ">微信公众号appid:</label>
						<div class="col-xs-12 col-sm-4">
							<input  class="form-control" name="row[appid]"  value="{$wechat.appid}" type="text">
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-xs-12 col-sm-2">微信公众号secret:</label>
						<div class="col-xs-12 col-sm-4">
							<input  class="form-control" name="row[secret]"  value="{$wechat.secret}" type="text">
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-xs-12 col-sm-2">腾讯地图key:</label>
						<div class="col-xs-12 col-sm-4">
							<input  class="form-control" name="row[map_key]"  data-rule="required" placeholder="" value="{$wechat.map_key}" type="text">
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-xs-12 col-sm-2">Web端域名地址:</label>
						<div class="col-xs-12 col-sm-4">
							<input  class="form-control" name="row[web_url]" placeholder="必须以 / 结尾" value="{$wechat.web_url??''}" type="text">
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-xs-12 col-sm-2">钉钉AppKey:</label>
						<div class="col-xs-12 col-sm-4">
							<input  class="form-control" name="row[ding_key]"  value="{$ding.ding_key??''}" type="text">
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-xs-12 col-sm-2">钉钉AppSecret:</label>
						<div class="col-xs-12 col-sm-4">
							<input  class="form-control" name="row[ding_secret]"  value="{$ding.ding_secret??''}" type="text">
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-xs-12 col-sm-2">企业微信Corpid:</label>
						<div class="col-xs-12 col-sm-4">
							<input  class="form-control" name="row[corpid]"  value="{$wechat.corpid??''}" type="text">
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-xs-12 col-sm-2">企业微信CorpSecret:</label>
						<div class="col-xs-12 col-sm-4">
							<input  class="form-control" name="row[corpsecret]"  value="{$wechat.corpsecret??''}" type="text">
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-xs-12 col-sm-2">企业微信AgentId:</label>
						<div class="col-xs-12 col-sm-4">
							<input  class="form-control" name="row[agentid]"  value="{$wechat.agentid??''}" type="text">
						</div>
					</div>


					<div class="form-group layer-footer">
						<label class="control-label col-xs-12 col-sm-2"></label>
						<div class="col-xs-12 col-sm-8">
							<button type="submit" class="btn btn-success">{:__('Submit')}</button>
							<button type="reset" class="btn btn-default">{:__('Reset')}</button>
						</div>
					</div>
				</form>
			</div>
		</div>

	</div>

</div>